 #include "ValueRange.cpp"
 #include <stdio.h>
 



int main() {
		Range* range1 = new Range(0,2);
		
		ValueInRange* x1 = new ValueInRange(1,range1);
		range1->setB(3);
		printf("Intervallo %f   %f \n",  range1->getA() , range1->getB());
		
		Range* range2 = new Range(0,2);
		x1->setRange(range2);
		range2->setB(3);
		printf("Intervallo %f   %f \n",  range2->getA() , range2->getB());
		return 0;
		
	}
